﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MenuManager.ascx.cs"
    Inherits="Framework.Portal.Admin.Modules.Menus.MenuManager" %>
<table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
    <tr>
        <td class="postheader" width="30%" align="left" valign="top">
            <asp:UpdatePanel ID="upanelGridPortals" runat="server" UpdateMode="Conditional" RenderMode="Inline">
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="General_cmdUpdate" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="General_cmdAddNew" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="General_cmdDelete" EventName="Click" />
                </Triggers>
                <ContentTemplate>
                    <table border="0" cellpadding="0" cellspacing="1" class="content" style="width: 100%">
                        <tr>
                            <td class="post" align="left">
                                <asp:TreeView ID="tvwCmds" runat="server" ExpandImageUrl="/Resource/Images/icon/14/col.gif"
                                    CollapseImageUrl="/Resource/Images/icon/14/exp.gif" NodeStyle-CssClass="TreeNode"
                                    NodeIndent="15" NoExpandImageUrl="/Resource/Images/icon/14/noexp.gif"
                                    SelectedNodeStyle-CssClass="SelectedTreeNode" OnSelectedNodeChanged="tvwCmds_SelectedNodeChanged">
                                </asp:TreeView>
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:UpdatePanel>
        </td>
        <td class="postcaption" width="70%" align="left" valign="top">
            <asp:UpdatePanel ID="upanelContent" runat="server" UpdateMode="Conditional" RenderMode="Inline">
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="tvwCmds" EventName="SelectedNodeChanged" />
                    <asp:AsyncPostBackTrigger ControlID="btnGeneral" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="btnExtension" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="btnType" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="btnModule" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="btnJavascript" EventName="Click" />
                    <asp:AsyncPostBackTrigger ControlID="btnStyleSheet" EventName="Click" />
                </Triggers>
                <ContentTemplate>
                    <div id="TabSystem1" class="content1">
                        <div class="tabs">
                            <div class="tabrow">
                                <asp:LinkButton ID="btnGeneral" runat="server" CssClass="tab tabActive" Text="Cơ bản"
                                    OnClick="ActiveTab" CommandArgument="1"></asp:LinkButton>
                                <asp:LinkButton ID="btnExtension" runat="server" CssClass="tab" Text="Mở rộng" OnClick="ActiveTab"
                                    CommandArgument="2"></asp:LinkButton>
                                <asp:LinkButton ID="btnType" runat="server" CssClass="tab" Text="Kiểu" OnClick="ActiveTab"
                                    CommandArgument="3"></asp:LinkButton>
                                <asp:LinkButton ID="btnModule" runat="server" CssClass="tab" Text="Thành phần" OnClick="ActiveTab"
                                    CommandArgument="4"></asp:LinkButton>
                                <asp:LinkButton ID="btnJavascript" runat="server" CssClass="tab" Text="Javascript"
                                    OnClick="ActiveTab" CommandArgument="5"></asp:LinkButton>
                                <asp:LinkButton ID="btnStyleSheet" runat="server" CssClass="tab" Text="StyleSheet"
                                    OnClick="ActiveTab" CommandArgument="6"></asp:LinkButton>
                            </div>
                            <div class="tabcontent">
                                <asp:Panel ID="panelGeneral" runat="server" Visible="true">
                                    <table id="boxGeneral" border="0" cellpadding="0" cellspacing="1" class="content"
                                        width="100%">
                                        <tr>
                                            <td colspan="2" class="header2" height="18">
                                                <asp:Label ID="General_lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:Label ID="Label1" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="ID" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:Label ID="General_lblID" runat="server" Font-Bold="true"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:Label ID="Label2" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="PARENTID" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:DropDownList ID="General_drpParentID" runat="server" Width="95%" DataTextField="Name"
                                                    DataValueField="ID">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:Label ID="Label3" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="NAME" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:TextBox runat="server" ID="General_txtName" Width="95%"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:Label ID="Label4" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="DESCRIPTION" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:TextBox runat="server" ID="General_txtDescription" Width="95%" TextMode="MultiLine"
                                                    Rows="3"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:Label ID="Label8" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="IMAGE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <NS:FilePicker Width="90%" ID="General_txtImage" runat="server" FileType="jpg" PopupTitle="Up ảnh" PopupFilter="image"></NS:FilePicker>                                              
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:Label ID="Label11" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="LINKTYPE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:DropDownList ID="General_drpLinkType" runat="server" Width="40%" AutoPostBack="true"
                                                    OnSelectedIndexChanged="General_drpLinkType_SelectedIndexChanged">
                                                    <asp:ListItem Text="None" Value="0"></asp:ListItem>
                                                    <asp:ListItem Selected="True" Text="Inner Link" Value="1"></asp:ListItem>
                                                    <asp:ListItem Text="Outer Link" Value="2"></asp:ListItem>
                                                    <asp:ListItem Text="Button Link" Value="3"></asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:Label ID="Label5" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="PARAMETER" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:TextBox runat="server" ID="General_txtParametter" Width="95%" TextMode="MultiLine"
                                                    Rows="5"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:Label ID="Label6" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="PRIORITY" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:DropDownList ID="General_drpPriority" runat="server" Width="48">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:Label ID="Label9" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="AUTHENTICATE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:CheckBox ID="General_chkAuthenticate" runat="server" Checked="true" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:Label ID="Label13" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="VISIBLE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:CheckBox ID="General_chkVisible" runat="server" Checked="true" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                            <NS:Label ID="Label12" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="ENABLE" />
                                                
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:CheckBox ID="General_chkEnable" runat="server" Checked="true" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:Label ID="Label14" runat="server" LocalizedPage="FORMCAPTION"
                                                    LocalizedTag="HOMEPAGE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:CheckBox ID="General_chkHomepage" runat="server" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postfooter" colspan="2" valign="middle" align="center">
                                                <NS:Button LocalizedPage="ACTION" LocalizedTag="UPDATE"
                                                    ID="General_cmdUpdate" runat="server" CssClass="pbutton" OnClick="General_cmdUpdate_Click"
                                                    Text="Cập nhật" Width="77px" />
                                                <NS:Button LocalizedPage="ACTION" LocalizedTag="CREATE"
                                                    ID="General_cmdAddNew" runat="server" CssClass="pbutton" OnClick="General_cmdAddNew_Click"
                                                    Text="Thêm mới" Width="77px" />
                                                <NS:Button LocalizedPage="ACTION" LocalizedTag="DELETE"
                                                    ID="General_cmdDelete" runat="server" CssClass="pbutton" OnClick="General_cmdDelete_Click"
                                                    Text="Xóa" Width="77px" />
                                                <NS:Button LocalizedPage="ACTION" LocalizedTag="RESET"
                                                    ID="General_cmdEmpty" runat="server" CssClass="pbutton" CausesValidation="False"
                                                    OnClick="General_cmdEmpty_Click" Text="Hủy" Width="77px" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <asp:Panel ID="panelExtension" runat="server" Visible="false">
                                    <asp:Repeater ID="rptExtension" runat="server" OnItemDataBound="rptExtension_ItemDataBound" OnItemCommand="rptExtension_ItemCommand">
                                        <HeaderTemplate>
                                            <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                                                <tr>
                                                    <td class="header2" align="center" height="18" width="5%">
                                                        #
                                                    </td>
                                                    <td class="header2" align="left" height="18" width="85%">
                                                        Name
                                                    </td>
                                                    <td class="header2" align="center" height="18" width="10%">
                                                        Action
                                                    </td>
                                                </tr>
                                        </HeaderTemplate>
                                        <FooterTemplate>
                                            <tr>
                                                <td class="postfooter" colspan="3" align="left" height="18">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            </table>
                                            <br />
                                        </FooterTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td class="post" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="left" height="18">
                                                    <asp:Label ID="lblName" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="center" height="18">
                                                    <NS:ImageButton id="Label17" runat="server" localizedpage="IMAGEACTION" localizedtag="EDIT24" />
                                                    &nbsp;
                                                    <NS:ImageButton id="Label7" runat="server" localizedpage="IMAGEACTION" localizedtag="DELETE24" />
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td class="postheader" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="left" height="18">
                                                    <asp:Label ID="lblName" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="center" height="18">
                                                    <NS:ImageButton id="Label17" runat="server" localizedpage="IMAGEACTION" localizedtag="EDIT24" />
                                                    &nbsp;
                                                    <NS:ImageButton id="Label7" runat="server" localizedpage="IMAGEACTION" localizedtag="DELETE24" />
                                                </td>
                                            </tr>
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                    <table id="boxExtension" border="0" cellpadding="0" cellspacing="1" class="content"
                                        width="100%">
                                        <tr>
                                            <td class="header2" colspan="2" align="left" height="18">
                                                <asp:Label ID="Extension_lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label17" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="ID" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:Label ID="Extension_lblID" runat="server" Font-Bold="true"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label19" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="NAME" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:TextBox runat="server" ID="Extension_txtName" Width="95%"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label20" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="DESCRIPTION" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:TextBox runat="server" ID="Extension_txtDescription" Width="95%" TextMode="MultiLine"
                                                    Rows="3"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label21" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="PREIMAGE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <NS:FilePicker Width="90%" ID="Extension_txtTitImage" runat="server" FileType="jpg" PopupTitle="Up ảnh" PopupFilter="image"></NS:FilePicker>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label22" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="IMAGE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <NS:FilePicker Width="90%" ID="Extension_txtDeaImage" runat="server" FileType="jpg" PopupTitle="Up ảnh" PopupFilter="image"></NS:FilePicker>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postfooter" colspan="2" valign="middle" align="center">
                                                <NS:button localizedpage="ACTION" localizedtag="UPDATE"
                                                    id="Extension_cmdUpdate" runat="server" cssclass="pbutton" onclick="Extension_cmdUpdate_Click"
                                                    text="Cập nhật" width="77px" />
                                                <NS:button localizedpage="ACTION" localizedtag="CREATE"
                                                    id="Extension_cmdAddNew" runat="server" cssclass="pbutton" onclick="Extension_cmdAddNew_Click"
                                                    text="Thêm mới" width="77px" />                                              
                                                <NS:button localizedpage="ACTION" localizedtag="RESET"
                                                    id="Extension_cmdEmpty" runat="server" cssclass="pbutton" causesvalidation="False"
                                                    onclick="Extension_cmdEmpty_Click" text="Hủy" width="77px" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <asp:Panel ID="panelType" runat="server" Visible="false">
                                    <div id="boxType">
                                        <asp:Repeater ID="rptType" runat="server" OnItemDataBound="rptType_ItemDataBound" OnItemCommand="rptType_ItemCommand">
                                            <HeaderTemplate>
                                                <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                                                    <tr>
                                                        <td class="header2" align="center" height="18" width="5%">
                                                            #
                                                        </td>
                                                        <td class="header2" align="left" height="18" width="85%">
                                                            Name
                                                        </td>
                                                        <td class="header2" align="center" height="18" width="10%">
                                                            Action
                                                        </td>
                                                    </tr>
                                            </HeaderTemplate>
                                            <FooterTemplate>
                                                <tr>
                                                    <td class="postfooter" colspan="3" align="left" height="18">
                                                        &nbsp;
                                                    </td>
                                                </tr>
                                                </table>
                                                <br />
                                            </FooterTemplate>
                                            <ItemTemplate>
                                                <tr>
                                                    <td class="post" align="center" height="18">
                                                        <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                    </td>
                                                    <td class="post" align="left" height="18">
                                                        <asp:Label ID="lblName" runat="server"></asp:Label>
                                                    </td>
                                                    <td class="post" align="center" height="18">
                                                        <NS:ImageButton id="Label17" runat="server" localizedpage="IMAGEACTION" localizedtag="EDIT24" />
                                                        &nbsp;
                                                        <NS:ImageButton id="Label7" runat="server" localizedpage="IMAGEACTION" localizedtag="DELETE24" />
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                            <AlternatingItemTemplate>
                                                <tr>
                                                    <td class="postheader" align="center" height="18">
                                                        <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                    </td>
                                                    <td class="postheader" align="left" height="18">
                                                        <asp:Label ID="lblName" runat="server"></asp:Label>
                                                    </td>
                                                    <td class="postheader" align="center" height="18">
                                                        <NS:ImageButton id="Label17" runat="server" localizedpage="IMAGEACTION" localizedtag="EDIT24" />
                                                        &nbsp;
                                                        <NS:ImageButton id="Label7" runat="server" localizedpage="IMAGEACTION" localizedtag="DELETE24" />
                                                    </td>
                                                </tr>
                                            </AlternatingItemTemplate>
                                        </asp:Repeater>
                                        <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                                            <tr>
                                                <td class="header2" colspan="2" align="left" height="18">
                                                    <asp:Label ID="Type_lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="postheader" width="25%" align="left">
                                                    <NS:label id="Label23" runat="server" localizedpage="FORMCAPTION"
                                                        localizedtag="ID" />
                                                </td>
                                                <td class="post" width="75%" align="left">
                                                    <asp:Label ID="Type_lblID" runat="server" Font-Bold="true"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="postheader" width="25%" align="left">
                                                    <NS:label id="Label24" runat="server" localizedpage="FORMCAPTION"
                                                        localizedtag="NAME" />
                                                </td>
                                                <td class="post" width="75%" align="left">
                                                    <asp:TextBox runat="server" ID="Type_txtName" Width="95%"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="postheader" width="25%" align="left">
                                                    <NS:label id="Label25" runat="server" localizedpage="FORMCAPTION"
                                                        localizedtag="DESCRIPTION" />
                                                </td>
                                                <td class="post" width="75%" align="left">
                                                    <asp:TextBox runat="server" ID="Type_txtDescription" Width="95%" TextMode="MultiLine"
                                                        Rows="3"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="postfooter" colspan="2" valign="middle" align="center">
                                                    <NS:button localizedpage="ACTION" localizedtag="UPDATE"
                                                        id="Type_cmdUpdate" runat="server" cssclass="pbutton" onclick="Type_cmdUpdate_Click"
                                                        text="Cập nhật" width="77px" />
                                                    <NS:button localizedpage="ACTION" localizedtag="CREATE"
                                                        id="Type_cmdAddNew" runat="server" cssclass="pbutton" onclick="Type_cmdAddNew_Click"
                                                        text="Thêm mới" width="77px" />
                                                    <NS:button localizedpage="ACTION" localizedtag="RESET"
                                                        id="Type_cmdEmpty" runat="server" cssclass="pbutton" causesvalidation="False"
                                                        onclick="Type_cmdEmpty_Click" text="Hủy" width="77px" />
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </asp:Panel>
                                <asp:Panel ID="panelModule" runat="server" Visible="false">
                                    <asp:Repeater ID="rptModulePortal" runat="server" OnItemDataBound="rptModulePortal_ItemDataBound">
                                        <HeaderTemplate>
                                            <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                                                <tr>
                                                    <td class="header2" align="center" height="18" width="5%">
                                                        #
                                                    </td>
                                                    <td class="header2" align="left" height="18" width="75%">
                                                        Portal Module
                                                    </td>
                                                    <td class="header2" align="left" height="18" width="20%">
                                                        Placeholder
                                                    </td>
                                                </tr>
                                        </HeaderTemplate>
                                        <FooterTemplate>
                                            <tr>
                                                <td class="postfooter" colspan="3" align="left" height="18">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            </table>
                                            <br />
                                        </FooterTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td class="post" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="left" height="18">
                                                    <asp:Label ID="lblName" Font-Bold="true" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="left" height="18">
                                                    <asp:Label ID="lblPlaceholder" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td class="postheader" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="left" height="18">
                                                    <asp:Label ID="lblName" Font-Bold="true" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="left" height="18">
                                                    <asp:Label ID="lblPlaceholder" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                    <asp:Repeater ID="rptModule" runat="server" OnItemDataBound="rptModule_ItemDataBound" OnItemCommand="rptModule_ItemCommand">
                                        <HeaderTemplate>
                                            <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                                                <tr>
                                                    <td class="header2" align="center" height="18" width="5%">
                                                        #
                                                    </td>
                                                    <td class="header2" align="left" height="18" width="65%">
                                                        Name
                                                    </td>
                                                    <td class="header2" align="left" height="18" width="20%">
                                                        Placeholder
                                                    </td>
                                                    <td class="header2" align="center" height="18" width="10%">
                                                        Action
                                                    </td>
                                                </tr>
                                        </HeaderTemplate>
                                        <FooterTemplate>
                                            <tr>
                                                <td class="postfooter" colspan="4" align="left" height="18">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            </table>
                                            <br />
                                        </FooterTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td class="post" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="left" height="18">
                                                    <asp:Label ID="lblName" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="left" height="18">
                                                    <asp:Label ID="lblPlaceholder" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="center" height="18">
                                                    <NS:ImageButton id="Label17" runat="server" localizedpage="IMAGEACTION" localizedtag="EDIT24" />
                                                    &nbsp;
                                                    <NS:ImageButton id="Label7" runat="server" localizedpage="IMAGEACTION" localizedtag="DELETE24" />
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td class="postheader" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="left" height="18">
                                                    <asp:Label ID="lblName" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="left" height="18">
                                                    <asp:Label ID="lblPlaceholder" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="center" height="18">
                                                    <NS:ImageButton id="Label17" runat="server" localizedpage="IMAGEACTION" localizedtag="EDIT24" />
                                                    &nbsp;
                                                    <NS:ImageButton id="Label7" runat="server" localizedpage="IMAGEACTION" localizedtag="DELETE24" />
                                                </td>
                                            </tr>
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                    <table id="boxModule" border="0" cellpadding="0" cellspacing="1" class="content"
                                        width="100%">
                                        <tr>
                                            <td class="header2" colspan="2" align="left" height="18">
                                                <asp:Label ID="Module_lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label26" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="MENUTYPE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:DropDownList ID="Module_drpMenutype" runat="server" AutoPostBack="true" OnSelectedIndexChanged="Module_drpMenutype_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label27" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="CONTROLS" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <NS:DropDownList ID="Module_drpControl" runat="server">
                                                </NS:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postfooter" colspan="2">
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label28" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="ID" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:Label ID="Module_lblID" runat="server" Font-Bold="true"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label30" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="TITLE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:TextBox ID="Module_txtTitle" runat="server" Width="95%"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label31" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="PLACEHOLDER" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:DropDownList ID="Module_drpPlaceholder" runat="server" Width="40%">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label32" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="PARAMETER" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:TextBox runat="server" ID="Module_txtParameter" Width="95%" TextMode="MultiLine"
                                                    Rows="3"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label33" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="SHOWTITLE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:CheckBox ID="Module_chkShowtitle" runat="server" Checked="true" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label34" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="SA" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:CheckBox ID="Module_chkSA" runat="server" Checked="true" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postfooter" colspan="2" valign="middle" align="center">
                                                <NS:button localizedpage="ACTION" localizedtag="UPDATE"
                                                    id="Module_cmdUpdate" runat="server" cssclass="pbutton" onclick="Module_cmdUpdate_Click"
                                                    text="Cập nhật" width="77px" />
                                                <NS:button localizedpage="ACTION" localizedtag="CREATE"
                                                    id="Module_cmdAddNew" runat="server" cssclass="pbutton" onclick="Module_cmdAddNew_Click"
                                                    text="Thêm mới" width="77px" />
                                                <NS:button localizedpage="ACTION" localizedtag="RESET"
                                                    id="Module_cmdEmpty" runat="server" cssclass="pbutton" causesvalidation="False"
                                                    onclick="Module_cmdEmpty_Click" text="Hủy" width="77px" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <asp:Panel ID="panelJavascript" runat="server" Visible="false">
                                    <asp:Repeater ID="rptJavascriptPortal" runat="server" OnItemDataBound="rptJavascriptPortal_ItemDataBound">
                                        <HeaderTemplate>
                                            <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                                                <tr>
                                                    <td class="header2" align="center" height="18" width="5%">
                                                        #
                                                    </td>
                                                    <td class="header2" align="left" height="18" width="95%">
                                                        Portal Javascript
                                                    </td>
                                                </tr>
                                        </HeaderTemplate>
                                        <FooterTemplate>
                                            <tr>
                                                <td class="postfooter" colspan="2" align="left" height="18">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            </table>
                                            <br />
                                        </FooterTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td class="post" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="left" height="18">
                                                    <asp:Label ID="lblName" Font-Bold="true" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td class="postheader" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="left" height="18">
                                                    <asp:Label ID="lblName" Font-Bold="true" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                    <asp:Repeater ID="rptJavascript" runat="server" OnItemDataBound="rptJavascript_ItemDataBound" OnItemCommand="rptJavascript_ItemCommand">
                                        <HeaderTemplate>
                                            <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                                                <tr>
                                                    <td class="header2" align="center" height="18" width="5%">
                                                        #
                                                    </td>
                                                    <td class="header2" align="left" height="18" width="85%">
                                                        Name
                                                    </td>
                                                    <td class="header2" align="center" height="18" width="10%">
                                                        Action
                                                    </td>
                                                </tr>
                                        </HeaderTemplate>
                                        <FooterTemplate>
                                            <tr>
                                                <td class="postfooter" colspan="3" align="left" height="18">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            </table>
                                            <br />
                                        </FooterTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td class="post" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="left" height="18">
                                                    <asp:Label ID="lblName" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="center" height="18">
                                                    <NS:ImageButton id="Label17" runat="server" localizedpage="IMAGEACTION" localizedtag="EDIT24" />
                                                    &nbsp;
                                                    <NS:ImageButton id="Label7" runat="server" localizedpage="IMAGEACTION" localizedtag="DELETE24" />
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td class="postheader" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="left" height="18">
                                                    <asp:Label ID="lblName" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="center" height="18">
                                                    <NS:ImageButton id="Label17" runat="server" localizedpage="IMAGEACTION" localizedtag="EDIT24" />
                                                    &nbsp;
                                                    <NS:ImageButton id="Label7" runat="server" localizedpage="IMAGEACTION" localizedtag="DELETE24" />
                                                </td>
                                            </tr>
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                    <table id="Table1" border="0" cellpadding="0" cellspacing="1" class="content"
                                        width="100%">
                                        <tr>
                                            <td class="header2" colspan="2" align="left" height="18">
                                                <asp:Label ID="Javascript_lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label15" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="MENUTYPE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:DropDownList ID="Javascript_drpMenutype" runat="server" AutoPostBack="true" OnSelectedIndexChanged="Javascript_drpMenutype_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label10" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="CONTROLS" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:DropDownList ID="Javascript_drpControl" runat="server">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label18" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="ID" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:Label ID="Javascript_lblID" runat="server" Font-Bold="true"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postfooter" colspan="2" valign="middle" align="center">
                                                <NS:button localizedpage="ACTION" localizedtag="UPDATE"
                                                    id="Button1" runat="server" cssclass="pbutton" onclick="Javascript_cmdUpdate_Click"
                                                    text="Cập nhật" width="77px" />
                                                <NS:button localizedpage="ACTION" localizedtag="CREATE"
                                                    id="Button2" runat="server" cssclass="pbutton" onclick="Javascript_cmdAddNew_Click"
                                                    text="Thêm mới" width="77px" />
                                                <NS:button localizedpage="ACTION" localizedtag="RESET"
                                                    id="Button3" runat="server" cssclass="pbutton" causesvalidation="False"
                                                    onclick="Javascript_cmdEmpty_Click" text="Hủy" width="77px" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <asp:Panel ID="panelStyleSheet" runat="server" Visible="false">
                                    <asp:Repeater ID="rptStyleSheetPortal" runat="server" OnItemDataBound="rptJavascriptPortal_ItemDataBound">
                                        <HeaderTemplate>
                                            <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                                                <tr>
                                                    <td class="header2" align="center" height="18" width="5%">
                                                        #
                                                    </td>
                                                    <td class="header2" align="left" height="18" width="95%">
                                                        Portal StyleSheet
                                                    </td>
                                                </tr>
                                        </HeaderTemplate>
                                        <FooterTemplate>
                                            <tr>
                                                <td class="postfooter" colspan="2" align="left" height="18">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            </table>
                                            <br />
                                        </FooterTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td class="post" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="left" height="18">
                                                    <asp:Label ID="lblName" Font-Bold="true" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td class="postheader" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="left" height="18">
                                                    <asp:Label ID="lblName" Font-Bold="true" runat="server"></asp:Label>
                                                </td>
                                            </tr>
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                    <asp:Repeater ID="rptStyleSheet" runat="server" OnItemDataBound="rptJavascript_ItemDataBound" OnItemCommand="rptStyleSheet_ItemCommand">
                                        <HeaderTemplate>
                                            <table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
                                                <tr>
                                                    <td class="header2" align="center" height="18" width="5%">
                                                        #
                                                    </td>
                                                    <td class="header2" align="left" height="18" width="85%">
                                                        Name
                                                    </td>
                                                    <td class="header2" align="center" height="18" width="10%">
                                                        Action
                                                    </td>
                                                </tr>
                                        </HeaderTemplate>
                                        <FooterTemplate>
                                            <tr>
                                                <td class="postfooter" colspan="3" align="left" height="18">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            </table>
                                            <br />
                                        </FooterTemplate>
                                        <ItemTemplate>
                                            <tr>
                                                <td class="post" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="left" height="18">
                                                    <asp:Label ID="lblName" runat="server"></asp:Label>
                                                </td>
                                                <td class="post" align="center" height="18">
                                                    <NS:ImageButton id="Label17" runat="server" localizedpage="IMAGEACTION" localizedtag="EDIT24" />
                                                    &nbsp;
                                                    <NS:ImageButton id="Label7" runat="server" localizedpage="IMAGEACTION" localizedtag="DELETE24" />
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <AlternatingItemTemplate>
                                            <tr>
                                                <td class="postheader" align="center" height="18">
                                                    <asp:Label ID="lblSTT" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="left" height="18">
                                                    <asp:Label ID="lblName" runat="server"></asp:Label>
                                                </td>
                                                <td class="postheader" align="center" height="18">
                                                    <NS:ImageButton id="Label17" runat="server" localizedpage="IMAGEACTION" localizedtag="EDIT24" />
                                                    &nbsp;
                                                    <NS:ImageButton id="Label7" runat="server" localizedpage="IMAGEACTION" localizedtag="DELETE24" />
                                                </td>
                                            </tr>
                                        </AlternatingItemTemplate>
                                    </asp:Repeater>
                                    <table id="Table2" border="0" cellpadding="0" cellspacing="1" class="content"
                                        width="100%">
                                        <tr>
                                            <td class="header2" colspan="2" align="left" height="18">
                                                <asp:Label ID="StyleSheet_lblUpdateStatus" runat="server" Font-Bold="True" ForeColor="Blue"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label51" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="MENUTYPE" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:DropDownList ID="StyleSheet_drpMenutype" runat="server" AutoPostBack="true" OnSelectedIndexChanged="StyleSheet_drpMenutype_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label16" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="CONTROLS" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:DropDownList ID="StyleSheet_drpControl" runat="server">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postheader" width="25%" align="left">
                                                <NS:label id="Label53" runat="server" localizedpage="FORMCAPTION"
                                                    localizedtag="ID" />
                                            </td>
                                            <td class="post" width="75%" align="left">
                                                <asp:Label ID="StyleSheet_lblID" runat="server" Font-Bold="true"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="postfooter" colspan="2" valign="middle" align="center">
                                                <NS:button localizedpage="ACTION" localizedtag="UPDATE"
                                                    id="Button4" runat="server" cssclass="pbutton" onclick="StyleSheet_cmdUpdate_Click"
                                                    text="Cập nhật" width="77px" />
                                                <NS:button localizedpage="ACTION" localizedtag="CREATE"
                                                    id="Button5" runat="server" cssclass="pbutton" onclick="StyleSheet_cmdAddNew_Click"
                                                    text="Thêm mới" width="77px" />
                                                <NS:button localizedpage="ACTION" localizedtag="RESET"
                                                    id="Button6" runat="server" cssclass="pbutton" causesvalidation="False"
                                                    onclick="StyleSheet_cmdEmpty_Click" text="Hủy" width="77px" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
                    <br />
                </ContentTemplate>
            </asp:UpdatePanel>
        </td>
    </tr>
</table>
